package com.cn.bean;

/**
 * 商品
 */
public class Goods {
    //商品编号
    private int goodsID;
    //商品名称
    private String goodsName;
    //商品价格
    private  String goodsPrice;
    //商品库存
    private int goodsCount;
    //商品图片
    private String goodsImg;

    public Goods() {
        super();
    }

    public Goods(String goodsName, String goodsPrice, int goodsCount, String goodsImg) {
        super();
        this.goodsName = goodsName;
        this.goodsPrice = goodsPrice;
        this.goodsCount = goodsCount;
        this.goodsImg = goodsImg;
    }

    public Goods(int goodsID, String goodsName, String goodsPrice, int goodsCount, String goodsImg) {
        super();
        this.goodsID = goodsID;
        this.goodsName = goodsName;
        this.goodsPrice = goodsPrice;
        this.goodsCount = goodsCount;
        this.goodsImg = goodsImg;
    }

    @Override
    public String toString() {
        return "Goods [goodsID=" + goodsID + ", goodsName=" + goodsName + ", goodsPrice=" + goodsPrice + ", goodsCount=" + goodsCount + ",goodsImg=" + goodsImg + "]";
    }

    public int getGoodsID() {
        return goodsID;
    }

    public void setGoodsID(int goodsID) {
        this.goodsID = goodsID;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(String goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public int getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(int goodsCount) {
        this.goodsCount = goodsCount;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }


}
